package com.xjaq.dify.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("模型用量信息")
public class Usage {
    
    @ApiModelProperty("提示词token数")
    private Integer promptTokens;
    
    @ApiModelProperty("提示词单价")
    private String promptUnitPrice;
    
    @ApiModelProperty("提示词价格单位")
    private String promptPriceUnit;
    
    @ApiModelProperty("提示词价格")
    private String promptPrice;
    
    @ApiModelProperty("完成token数")
    private Integer completionTokens;
    
    @ApiModelProperty("完成单价")
    private String completionUnitPrice;
    
    @ApiModelProperty("完成价格单位")
    private String completionPriceUnit;
    
    @ApiModelProperty("完成价格")
    private String completionPrice;
    
    @ApiModelProperty("总token数")
    private Integer totalTokens;
    
    @ApiModelProperty("总价格")
    private String totalPrice;
    
    @ApiModelProperty("货币类型")
    private String currency;
    
    @ApiModelProperty("延迟")
    private Double latency;
}